home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / tlk2me15.arc / TALKTOME.DOC < prev    next >
Text File  |  1986-08-04  |  10KB  |  659 lines

  1.  
  2.  
  3.   
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.   When  first  receiving a copy of the Speech.Com package I was thrilled!
  17.   I  soon  found  that  creating  text  files  of  phonems  used  be  the
  18.   interpreter was  a cumbersome chore.  A task not looked upon favorably.
  19.   So, I wrote a utility which minimizes the job for me.  I hope you  will
  20.   find it as useful as I have.
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.     Speech - Text Creator and Editor                          Page 1
  53.  
  54.  
  55.  
  56.  
  57.  
  58.   
  59.  
  60.  
  61.  
  62.  
  63.  
  64.   Talktome.Bas allows you to enlarge your computer's vocabulary  as  well
  65.   as edit  phonems and create phonem text files.  The vocabulary of words
  66.   are stored in a random access file.   After  every  session  of  adding
  67.   words this  file  must  be  sorted.   This is done automatically by the
  68.   editor.  For more information on the sort and search routines used here
  69.   please refer to the book  entitled  Dos  Random  Access  &  Basic  File
  70.   Handling by H. J. Muller.  This book is a wealth of information.
  71.  
  72.   Creating  phonem  text  files  which are used by the READ utility is as
  73.   simple as writing a letter.  After every line the utility will pick out
  74.   each word and locate it in its vocabulary file.  If your computer knows
  75.   this word then the phonem for that word is written to your  text  file.
  76.   In  the  event  a  word  is  not part of your computer's vocabulary the
  77.   utility will inform you.  To end  this  session  merely  hit  ENTER  or
  78.   RETURN on  a blank line.  Your text file will be closed and you will be
  79.   informed of it.  That's the gist of the utility.   The  following  will
  80.   attempt a more detailed explanation of each command.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.     Speech - Text Creator and Editor                          Page 2
  108.  
  109.  
  110.  
  111.  
  112.  
  113.   
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.                      T H E   M E N U   C O M M A N D S
  121.  
  122.  
  123.  
  124.  
  125.   {A}dd words
  126.  
  127.   This command allows you to add words  to  your  computer's  vocabulary.
  128.   Upper and lower case letters make a difference!  To be on the safe side
  129.   enter all words in UPPER CASE (RECOMMENDED!!).
  130.  
  131.   After you input a word, the word is checked against duplicates.  If the
  132.   word already  exsists  you  will  be  informed.    If  not, you will be
  133.   prompted to enter the 'phonem' of the word.  Your  computer  will  then
  134.   'say' the  phonem.    If  it  does  not sound 'right' you can change it
  135.   before saving it.  When you are ready to quit adding words  answer  the
  136.   'Enter  word' prompt with a RETURN or ENTER. The utility then loads the
  137.   sort utility.  More about that later.
  138.  
  139.   The speech utility does not recognize numerics or  punctuations.    You
  140.   will  need  to  'spell'  them  out  i.e.  13  becomes  THIRTEEN and the
  141.   corresponding phonem is TH-R-R-T-EE-N-N (or something similar).
  142.  
  143.   Contractions are  acceptable.    The  phonem  for  the  word  DON'T  is
  144.   D-OH-N-T.  If  you  use  abbreviated words followed by a period such as
  145.   'MR.', the period is considered part of the word and it must exsist  in
  146.   the vocabulary file as typed.
  147.  
  148.   To use this feature of the utility you must be fully aquainted with the
  149.   phonems Speech.Com supports.  Please familiarize yourself with Say.Doc.
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.     Speech - Text Creator and Editor                          Page 3
  163.  
  164.  
  165.  
  166.  
  167.  
  168.   
  169.  
  170.  
  171.  
  172.  
  173.  
  174.   {C}reate
  175.  
  176.   This is where you create the actual phonem text  file.    You  will  be
  177.   prompted for  a  filename  to  store  the  phonems.   Do not use a file
  178.   extension.  A default extension is used by the utility.  The  file  you
  179.   will be creating is the text file which is 'read' by the READ utility.
  180.  
  181.   You will  be limited to 60 characters per line.  There are no limits on
  182.   number of lines.  After every <CR> the individual words  are  extracted
  183.   from the  sentence.    The  words are then sought out in the vocabulary
  184.   file.  Words that  are  found  are  matched  with  their  corresponding
  185.   phonems.  Each phonem is written to the text file specified by you.  If
  186.   a word or words do not exsist in the vocabulary you will be informed of
  187.   such and  asked  whether  or  not  to  continue.    Answer  this prompt
  188.   accordingly.  I must warn you that if you answer NO the utility returns
  189.   you to the main menu.
  190.  
  191.   Do not include puncuations in your text.  For example,  placing  a  "."
  192.   (period)  to  signify the end of a sentence will be looked upon as part
  193.   of the word.  Compound words such as 'GOODBYE' should be broken up into
  194.   two  seperate  words.   Unless  of course, 'GOODBYE'  is  part  of  the
  195.   vocabulary.  The use of contractions is fine.
  196.  
  197.   To quit just hit <CR> on a blank line.
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.     Speech - Text Creator and Editor                          Page 4
  218.  
  219.  
  220.  
  221.  
  222.  
  223.   
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.   {E}dit
  237.  
  238.   This option allows you to change a phonem to a specified word.  This is
  239.   so you can get the sound of the word just 'right'.
  240.  
  241.   Again, you must be familiar with the supported phonems.  You will  need
  242.   to experiment to get the word sounding 'right'.
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.     Speech - Text Creator and Editor                          Page 5
  273.  
  274.  
  275.  
  276.  
  277.  
  278.   
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.   {L}isten
  292.  
  293.   Here you will be able to HEAR your computer talk.  First  you  will  be
  294.   shown a  list of all files (default drive:*.TXT).  You will be prompted
  295.   to enter the filename or text you wish to hear.   You  must  enter  the
  296.   filename including  the  file extension.  The READ utility generates no
  297.   error if a file does not exsist.
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.     Speech - Text Creator and Editor                          Page 6
  328.  
  329.  
  330.  
  331.  
  332.  
  333.   
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.   {Q}uit
  347.  
  348.   This option  is  self explanatory.  However, it can mean END, STOP, let
  349.   me out of here and I want to play DINO EGGS!
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.     Speech - Text Creator and Editor                          Page 7
  383.  
  384.  
  385.  
  386.  
  387.  
  388.   
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.   {T}alk
  402.  
  403.   This option is similar to {C}reate text.  The difference is phonems are
  404.   NOT saved  to  a  file, they are 'spoken'.  This feature comes in handy
  405.   when you want to hear what the words will sound like before creating  a
  406.   text file.
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.     Speech - Text Creator and Editor                          Page 8
  438.  
  439.  
  440.  
  441.  
  442.  
  443.   
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.                  S O R T I N G   T H E   D A T A   F I L E
  452.  
  453.  
  454.  
  455.  
  456.   Sorting the vocabulary file is an essential part of  maintenance.    In
  457.   order  for the SEARCH of words to be correct this file must be in alpha
  458.   sequence.  This is why sorting  is  done  after  ending  a  session  of
  459.   addings words   to   the  vocabulary  file.    The  utility  does  this
  460.   automatically.  The larger the vocabulary file  the  longer  the  sort.
  461.   For your convenience a vocabulary file, roughly 400 words, was supplied
  462.   with the  Talktome.Bas  utility.  My son and I have included words that
  463.   are commonly used.  This is so you can jump right in  there  and  start
  464.   creating phonem texts as soon as you receive Talktome.Bas.
  465.  
  466.   Since  the  vocabulary  file  supplied  with  Talktome.Bas  is  large I
  467.   recommend that when adding words  to  the  file  you  do  so  in  large
  468.   quantities.   Even  if  you  add  just  one  word  the  sort  will take
  469.   approximately 17.7 minutes.
  470.  
  471.   After the sort is completed Sort.Bas  will  create  a  backup  of  your
  472.   sorted  vocabulary file called BCKUPWRD.DAT. It will then return to the
  473.   main utility.
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.     Speech - Text Creator and Editor                          Page 9
  493.  
  494.  
  495.  
  496.  
  497.  
  498.   
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.                                    NOTES
  509.  
  510.  
  511.  
  512.  
  513.   Documentation  is  not  necessary  as  you will find Talktome.Bas quite
  514.   simple to use (I really wanted to check out my new text formatter).
  515.  
  516.   The Talktome.Bas utility and associated programs  were  placed  in  the
  517.   public  domain  so  feel free to distribute it as long as the following
  518.   conditions are met:
  519.  
  520.   1> The programs are distributed in their original form!
  521.   2> No fees be accepted for copies of the Talk-to-me programs!
  522.  
  523.   Remuneration is the sole right of the author.  If you find this program
  524.   of great use then a donation sufficient enough to purchase  a  one  way
  525.   first   class   ticket   on  a  lunar  shuttle  would  be  appreciated!
  526.   (just kidding!) I am not accepting donations  of  any  sort  for  these
  527.   programs at  this  time.   I already have enough problems with the IRS.
  528.   Just enjoy it.
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.     Speech - Text Creator and Editor                          Page 10
  548.  
  549.  
  550.  
  551.  
  552.  
  553.   
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.   No!  No!    I  am  not  affiliated  with  any  corporation  or with the
  567.   individual who wrote  Speech.Com.    The  speech  utilities  have  been
  568.   provided with the Talk-to-me utilities for your convenience only.
  569.  
  570.   You will  use  the Talk-to-me programs at your own risk.  I will not be
  571.   held responsible for any allege  damage  caused  to  your  computer  or
  572.   financial status.
  573.  
  574.  
  575.  
  576.                                 Cat Miller
  577.                              Author - Dreamer
  578.  
  579.                   CIS#: 76257,307       Delphi: SYSTEM80
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.     Speech - Text Creator and Editor                          Page 11
  603.  
  604.  
  605.  
  606.  
  607.  
  608.   
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.   More notes:
  620.  
  621.              8/4/86                    Shell sort implemented.
  622.   
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.     Speech - Text Creator and Editor                          Page 12
  658.  
  659.